import Vue from 'vue'
import App from './App'
import $ from '@/assets/js.js'
import topbar from "@/components/topbar/topbar.vue"
import jvideo from "@/uni_modules/j-video/components/j-video/j-video.vue"
import uView from "uview-ui";
import tim from './commen/tim/tim.js'
import commen from './commen/commen.js'
import TIM from 'tim-js-sdk'
// import TIM from 'tim-wx-sdk';

import store from './store/index.js'

Vue.config.productionTip = false


Vue.prototype.$ = $
Vue.component('topbar',topbar)
Vue.component('jvideo',jvideo)
Vue.use(uView);
Vue.prototype.tim = tim.tim  			//tim sdk 引入后生成的tim服务
Vue.prototype.$TIM = TIM				//tim 的状态/事件 常量
Vue.prototype.$store = store
Vue.prototype.$commen = commen

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
